<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<jsp:include page="/layout/meta.jsp"/>
</head>
<body>
	<div id="header">
		<jsp:include page="/layout/header.jsp"/>
	</div>
	<div id="navigator">
		<jsp:include page="/layout/navigator.jsp"/>
	</div>
	<div id="container">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">商品設定 &gt; 保險項目修改</h3>
			</div>
			<div class="panel-body">
				<form id="form" class="form-horizontal" action="<%=request.getContextPath()%>/product/insitem.do?sActionType=update" method="post">
					<input type="hidden" name="id" value="${insItem.id}" />
					<div class="form-group">
						<label for="code" class="col-sm-1 control-label">代碼</label>
						<div class="col-sm-11">
							<input type="text" class="form-control" id="code" name="code" placeholder="請輸入代碼" value="${insItem.code}"> 
							<span class="help-block"><span class="text-danger"></span></span>
						</div>
					</div>
					<div class="form-group">
						<label for="description" class="col-sm-1 control-label">說明</label>
						<div class="col-sm-11">
							<input type="text" title="要輸入正確的名稱喔!" class="form-control" id="description" name="description" placeholder="請輸入名稱" value="${insItem.description}"> 
							<span class="help-block"><span class="text-danger"></span></span>
						</div>						
					</div>	
					<div class="form-group">
						<label for="amounts" class="col-sm-1 control-label">保額</label>
						<div class="col-sm-11">
							<input type="text" class="form-control" id="amounts" name="amounts" placeholder="請輸入保額" value="${insItem.amounts}"> 
							<span class="help-block"><span class="text-danger"></span></span>
						</div>						
					</div>		

					<button id="submitBtn" class="btn btn-primary btn-lg">修改</button>
					<a href="<%=request.getContextPath()%>/product/insitem.do?sActionType=list" class="btn btn-warning btn-lg">回到列表</a>
				</form>
			</div>
		</div>
	</div>
</body>
</html>